Sample VBVoice Applications

In your installation package there is a set of sample applications for both VB6 and .NET that demonstrate some useful processes and techniques. Pronexus recommends that you look at these examples to help you setup your application.

You can also visit the Pronexus web site for our dynamic FAQ list, for new sample applications, and for development tips.

Each example below is fully demonstrated in the Examples subdirectory of the VBVoice install directory. Refer to the readme files in this subdirectory for additional explanations.

VBVoice Examples (apply to all platforms)

These examples are done in both VB6 and the .NET languages.

3WayCall

This demo shows how to set up a three-way calling system, using a telephone company's Three Way Calling feature. In many locales, this is available as both a pay-per-use service and as a monthly subscription service.

AgentX_Send

This demo shows how to send messages to another application on the network using the VBVoice AgentX control.

AgentX_Receive

This demo shows how to receive messages from another application on the network using the VBVoice AgentX control.

AlphaDig

This demo shows how to retrieve an alpha-numeric string from the caller by using a two digits sequence for each letter.

BridgeTransfer and SimpleBridge

These two examples demonstrate how separate calls can be bridged together within VBVoice.

Find these examples in the Bridging Subdirectory.

BridgingMaster and BridgingSlave

These two samples also demonstrate bridging ability, but within modular VBVoice.

Find these examples in the Modularity Subdirectory.

CallerId

This demo shows how to obtain a CallerId from an incoming call.

CallerId2

This demo builds on the CallerID demo, showing how to use an incoming CallerId for a database search. Incoming calls are only answered if CallerID is found in the database.

CallQ

This demo illustrates the basic functionality of the CallQueue control: call queuing and distributing, adding and removing agents.

CallQ1MSI

This demo illustrates the basic functionality of the CallQueue control which works with Dialogic MSI Card: call queuing and distributing, adding and removing agents.

Composite

This demo illustrates the use of composite controls.

CustPhrs

This demo explains the use of VBVoice custom greeting code, where code can change or add greetings at runtime.

Date

This demo shows some of the different formats that the system phrase date can be played in.

DialDB

This demo shows how to use a database to dial a list of numbers and automatically log each call attempt.

DialODBC

This demo is similar to the DialDB demo, except that it uses ODBC to access the same database as DialDB. This demo accesses a list of numbers to dial from the table DialList.

DynGram

This demo shows how to use the Dynamic Grammar functionality of the Nuance recognition engine with VBVoice.

EZ-Flow

This demo is described in detail in Getting Started.

Inventory

This demo shows a simple, on-line order processing system. It demonstrates the use of the VBVoice data controls in conjunction with the VB data control.

This demo is equipped with an Inventory Database indexed by part numbers and includes part quantities. After dialling in, callers are prompted for a part number. If the part is found, the system tells the caller how many are in stock.

InventryPlugIn

This example demonstrates the use of multi-threading in VB using the VBVoice User control PlugIn properties and ActiveX EXE. This example uses the Inventory Database indexed on part numbers, and includes a part quantity.

Language

This demo shows how to use the Language control to provide language-specific syntax when vocalizing system phrases. See the Language Control for more details.

Log2Text

This demo uses the DLL function provided in VBV32.OCX to convert VBVoice log files into text files. These log files are useful for analyzing incorrect behavior at runtime and for requesting technical support.

LinestatusADO

This example shows the use of the LineStatus OLE DB Provider supplied by Pronexus in Visual Basic 6. This example uses a Microsoft ADO Data Control 6.0 and a Microsoft DataGrid Control 6.0.

MSI1Flow and MSI2Flow

This example demonstrates building of a very simple un-PBX. The regular analog or digital Dialogic cards are used to interface with the CO. The MSI card is used to handle the local extensions.

NuanceExample

This example is simpler than NuanceRecResult or NuanceSpeechRec, featuring less features and therefore good for a first time Nuance user.

Find this example under NuanceSpeechRec in the nuance_alpha sub-directory.

NuanceRecResults

This demo illustrates the VBVoice Dynamic RecResult ActiveX DLL and shows how it parses the VoiceRec control recognition result string into ready to use RecResult ActiveX properties and methods.

NuanceSpeechRec

The demo shows how to use Nuance's speech recognition engine with VBVoice.

OutdialMaster and OutdialSlave

These two samples demonstrate outdialling ability of modular VBVoice.

Find this example in the Modularity subdirectory.

PlayMsg

This sample shows how to set up a simple messaging system (i.e. mailbox). This mechanism is the foundation for a voicemail system.

RecordDB

This demo will answer a call, move to the first record in a database (using a bound data control), make a recording, and then if the recording was successful, add a new record to the database with the new filename.

Remote

This demo shows how to use the VBVoice Remote Control to exchange messages with another application on the network in a manner that is synchronized with the processing of the telephony call flow.

SampleMaster and SampleSlave

These two samples demonstrate modular VBVoice.

Find these examples in the Modularity subdirectory.

TapRecord and TapRecord_Bridge

These sample projects will answer a call and make a full duplex (IVR and human) recording of a simple call-flow (Delay, GetDigits and PlayGreeting for the TapRecord demo, or a Delay where two channels are bridged for the TapRecord_Bridge demo). If the recording is successful, a wave file is created.

Transfer

This demo shows how to move Visual Basic data from VB controls, properties, or variables so that VBVoice can access and make use of the data.

TTS

This demo shows several different features of Text-to-Speech (TTS). TTS must be authorized and installed for this demo to work. Contact Pronexus about gaining authorization.

VerifySpeaker, VerifySpeakerEnhanced

The VerifySpeaker demo demonstrates how to train the VerifySpeaker control with callers' speech patterns and then how to use those patterns to authenticate callers accessing the system.

The VerifySpeakerEnhanced example shows how to eliminate the two step authentication process common to voiceprint analysis.

Voicemail

This demo illustrates a completely integrated voicemail and auto-attendant program. This program answers calls, requests a mailbox number, looks up the extension associated with that number, and attempts to transfer the call. If the transfer fails, the program takes a message. Subscribers can call in and retrieve their messages, and set their password and greetings.

Wave Editor

This demo shows how to use Wave Edit methods (InsertWaveFile, AppendWaveFile, OverWriteWavefile, CopyWavefile) from VBVoice.

WebQueryEx

This demo illustrates the basic use of the WebQuery control. When a call is received, it hits a certain page on the Pronexus web site, it searches for a text and a node, and it returns the whole text of that node. Two methods of return are shown: text in a text box and text played using text-to-speech (TTS).

.NET Examples (apply only to .NET architecture)

These examples have only been designed for the .NET environment.

3WayCall

This example shows how custom entries can be placed in the VBVLog file that is generated when a VBVoice system is running. Adding custom log entries is valuable for error handling.

ADOlinestatus

This example shows the use of the LineStatus OLE DB Provider supplied by Pronexus in .NET. It uses a DataGrid control to display the data from the Linestatus table. In order to use a DataGrid control, you must create a connection to the provider. Use Pronexus VBVoice Linestatus OLE DB Provider as the provider. From that connection, create a data adapter and a data set, then use the data set as a source for the data grid.

Windows Service

This demo shows how an application created in VBVoice can be started up automatically as a Windows service.

WorkerThreadEx

This example shows how to use the WorkerThread Control in the .NET environment.